import { Router, type IRouter } from 'express'
import {
  getPlayerStatisticsHandler,
  getOverviewStatisticsHandler
} from '../controllers/statisticsController'

const router: IRouter = Router()

// 统计数据路由
router.get('/players', getPlayerStatisticsHandler)    // GET /api/statistics/players - 获取选手统计
router.get('/overview', getOverviewStatisticsHandler) // GET /api/statistics/overview - 获取概览统计

export default router
